from selenium.webdriver.common.by import By

from company_wechat.base import Base


class Register(Base):
    def register(self):
        self.find(By.XPATH, '//*[@class="form sign-up"]/label[1]/input').send_keys('hello123')
        self.find(By.XPATH, '//*[@class="form sign-up"]/label[2]/input').send_keys('hello1234')
        self.find(By.XPATH, '//*[@class="form sign-up"]/label[3]/input').send_keys('hello1234')
        self.find(By.XPATH, '//*[@class="form sign-up"]/label[4]/input').send_keys('setaquestion')
        self.find(By.XPATH, '//*[@class="form sign-up"]/label[5]/input').send_keys('setavalue')
        self.find(By.XPATH, '//*[@class="el-button submit el-button--warning is-round"]').click()
